/* 
  {
    "total": 17,
    "items": [
      {
        "id": "1595381193806401538",
        "gmtCreate": "2022-11-23 19:38:12",
        "gmtModified": "2022-11-23 19:38:12",
        "deleted": false,
        "username": "阿达啊",
        "password": "c89519ed5a5e351d36d2519e244cfbd7",
        "nickName": "啊的我",
        "salt": "",
        "token": "",
        "roleName": ""
      }
    ]
  }
*/

export interface UserItem {
  id: string;
  gmtCreate: string;
  gmtModified: string;
  deleted: boolean;
  username: string;
  password: string;
  nickName: string;
  salt: string;
  token: string;
  roleName: string;
}

export type UserList = UserItem[];

export interface GetUserListRes {
  total: number;
  items: UserList;
}

/* 
  {
  "deleted": false,
  "gmtCreate": "2022-11-24T01:22:02.524Z",
  "gmtModified": "2022-11-24T01:22:02.524Z",
  "id": "string",
  "nickName": "string",
  "password": "string",
  "roleName": "string",
  "salt": "string",
  "token": "string",
  "username": "string"
}
*/

export interface addUserList {
  // deleted: false;
  // gmtCreate: "2022-11-24T01:22:02.524Z";
  // gmtModified: "2022-11-24T01:22:02.524Z";
  // id: "string";
  nickName: string;
  password: string;
  // roleName: "string";
  // salt: "string";
  // token: "string";
  username: string;
}
